package com.leyou;

import com.leyou.auth.anotination.EnableJwtVerification;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableJwtVerification
@EnableFeignClients
@MapperScan("com.leyou.trade.mapper")
@EnableScheduling //开始定时任务支持
public class LyTradeApplication {
    public static void main(String[] args) {
        SpringApplication.run(LyTradeApplication.class);
    }
}
